using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Web;
using System.Web.Caching;
using OA.Common;

namespace OA.BLL
{
    public partial class SystemConfig:Base
    {
        static readonly DAL.SystemConfig dal = new DAL.SystemConfig();

        /// <summary>
        ///  读取配置文件
        /// </summary>
        public static Model.Config.SystemConfig LoadConfig()
        {
            Model.Config.SystemConfig model = dal.LoadConfig();
            return model;
        }

        /// <summary>
        ///  保存配置文件
        /// </summary>
        public static Common.Result SaveConifg(Model.Config.SystemConfig model)
        {
            return dal.SaveConifg(model);
        }

    }
}
